AliasSynth is a simple synthesizer VST that intentionally contains no band-limiting or anti-aliasing.
Instead of preventing aliasing, the synth exposes it directly by either folding oscillator frequencies 
around a user-defined virtual Nyquist limit, or by reducing the effective sample rate using sample-and-hold, depending on availability.

How to install: Place the .vst3 folder anywhere in C:\Program Files\Common Files\VST3 and re-scan your plugin list in your DAW.

Controls:
	ADSRV:	Attack, Decay, Sustain, and Release controlling the amplitude envelope of each voice, Volume the peak amplitude.
	FM:	If FM Amount is non-zero, a sine wave modulates the oscillator frequency (two-operator FM).
		FM is applied before aliasing or folding, so FM sidebands are also subject to aliasing.
	Fold: 	Applies a nonlinear sine-based waveshaper after signal generation, introducing additional harmonics that may alias further.
	SR:	If active, sample-rate reduction is used instead of frequency-domain folding. Then, the nyquist knob controls the hold rate.
	Bits:	Bit depth, from 1 bit (basically square wave reduction) to 24 bit (clean).
	Mode Menu:
		Subtractive Saw:   CPU-friendly. Only the fundamental frequency is explicitly generated and folded.  
		Additive Saw:  	   A CPU-heavy sawtooth constructed from 64 individual harmonics.  
				   Each harmonic frequency is folded independently around the Nyquist Limit.  
		Sine Wave:         A single sine oscillator. Good and classic choice for the FM engine.
		Sample (Root C0):  Plays a loaded mono sample with its root pitch assumed to be C0.  
			           Nyquist folding affects playback speed, not harmonic content.  
				   Higher notes drastically shorten playback.
		Sample (Root C5):  Plays the loaded sample at original pitch when C5 is played.
		Sample (Root C10): Plays the loaded sample with root pitch at C10.  
				   Lower notes stretch playback drastically.

	New in version 1.1: 	   Transpose in Octave and Glide Time for Transposing: Play any note, and around it you can shift the 
				   base frequency by up to 7 octaves. This can give extra aliasing to the signal.

AliasSynth is designed as an explicit aliasing and spectral-folding instrument, not a clean or “correct” synthesizer.
Unexpected behavior at extreme settings is intentional.

Made with the help of Google Gemini and chatGPT.
The code is open source! you may do whatever you like with it (except sell it unaltered).

Thanks for checking it out!
aquanode
